package com.ITD.controller;

import com.ITD.service.EventService;
import com.ITD.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/moral/event_type")
public class EventTypeController {
    @Autowired
    private EventService eventService;
    @GetMapping("/get")
    public Result getEventType(){
        return eventService.getEventType();
    }
}
